import request from '@/utils/request'
/**
 * 新增邀请配置
 * http://192.168.88.247:4999/web/#/80/1798
 * @param {Object} data
 * @returns
 */
export function setInviteReward (data) {
  return request({
    url: '/api/v1/invite/set_reward',
    method: 'post',
    data
  })
}
/**
 * 获取邀请配置
 * http://192.168.88.247:4999/web/#/80/1799
 * @param {Object} data
 * @returns
 */
export function getInviteReward (data) {
  return request({
    url: '/api/v1/invite/get_reward',
    method: 'post',
    data
  })
}
